package com.summary.mapper;

import java.util.List;
import com.summary.domain.WeekSummary;

/**
 * 周报Mapper接口
 *
 * @author ruoyi
 * @date 2024-01-15
 */
public interface WeekSummaryMapper
{
    /**
     * 查询周报
     *
     * @param id 周报主键
     * @return 周报
     */
    public
    List<WeekSummary> selectWeekSummaryById(Long timeId);

    /**
     * 查询周报列表
     *
     * @param weekSummary 周报
     * @return 周报集合
     */
    public List<WeekSummary> selectWeekSummaryList(WeekSummary weekSummary);

    /**
     * 新增周报
     *
     * @param weekSummary 周报
     * @return 结果
     */
    public int insertWeekSummary(WeekSummary weekSummary);

    /**
     * 修改周报
     *
     * @param weekSummary 周报
     * @return 结果
     */
    public int updateWeekSummary(WeekSummary weekSummary);

    /**
     * 删除周报
     *
     * @param id 周报主键
     * @return 结果
     */
    public int deleteWeekSummaryById(Long id);

    /**
     * 批量删除周报
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteWeekSummaryByIds(Long[] ids);

    WeekSummary selectWeekSummary(WeekSummary weekSummary);
}
